package com.ggb.smartstudy.service;


import com.ggb.smartstudy.entity.Permission;

import java.util.List;

/**
 * @author gefangjie
 */
public interface PermissionService {
    Permission getPermissionById(Integer id);
    List<Permission> getAllPermissions();
    void createPermission(Permission permission);
    void updatePermission(Permission permission);
    void deletePermission(Integer id);
}
